<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"
      xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>查看请假申请信息</title>
    <link th:replace="common/header"/>
</head>
<body class="no-skin">
<div th:replace="common/top"/>
<div class="main-container ace-save-state" id="main-container">
    <div th:replace="common/menu"/>
    <div class="main-content">
        <div class="main-content-inner">
            <div th:replace="common/title"/>
            <div class="page-content">
                <div th:replace="common/skin"/>
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
                        <h3 class="header smaller lighter blue"><i class="fa fa-server" aria-hidden="true"></i>查看请假申请信息
                        </h3>
                        <div class="row-fluid">
                            <!--PAGE CONTENT BEGINS HERE-->
                            <div class="span3">
                                <div class="control-group">
                                    请假申请名称:<span th:text="${leaveInfo.name}">1</span>
                                </div>
                            </div>
                            <div class="span3">
                                <div class="control-group">
                                    请假申请天数:<span th:text="${leaveInfo.days}">1</span>
                                </div>
                            </div>
                            <div class="span3">
                                <div class="control-group">
                                    请假类型:<span th:text="${leaveInfo.type.text}">1</span>
                                </div>
                            </div>
                            <div class="span3">
                                <div class="control-group">
                                    请假原因:<span th:text="${leaveInfo.reason}">1</span>
                                </div>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="text-center span12">
                                <a class="btn" shiro:hasPermission="/leaveInfo/getAll" href="getAll"
                                   th:href="@{/leaveInfo/getAll}"><i class="fa fa-reply"
                                                                       aria-hidden="true"></i>返回</a>
                            </div>
                        </div>
                        <!-- PAGE CONTENT ENDS -->
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->
    <div th:replace="common/footer"/>
</div><!-- /.main-container -->
<div th:replace="common/buttom"/>

<form id="form" name="form" th:action="@{/leaveInfo/getAll}" th:method="post" th:object="${leaveInfoForm}">
    <input type="hidden" id="name" name="name" th:value="*{name}"/>
    <input type="hidden" id="type" name="type" th:value="*{type}"/>
    <input type="hidden" id="reason" name="reason" th:value="*{reason}"/>
</form>

<link rel="stylesheet" th:href="@{/css/colorbox.min.css}"/>
<script th:src="@{/js/colorbox/jquery.colorbox.min.js}"></script>
<script th:src="@{/js/colorbox/colorbox.js}"></script>
</body>
</html>
